{extend name='common/dialog'}
{block name='content'}
<div class="row">
    <div class="col-lg-12">
        <div class="card">
            <div class="card-body">
                <form class="form-horizontal" data-toggle="validator" method="POST" role="form" data-loading="3">
                    <div class="form-group">
                        <label for="user_name" class="control-label">用户名</label>
                        <div class="form-item">
                            <input type="text" class="form-control" data-rule="required" name="row[user_name]"
                                   id="user_name"
                                   value="{$row.user_name}"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="nick_name" class="control-label">昵称</label>
                        <div class="form-item">
                            <input type="text" class="form-control" name="row[nick_name]" id="nick_name"
                                   placeholder="输入您的昵称"
                                   value="{$row.nick_name}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="mobile" class="control-label">手机号</label>
                        <div class="form-item">
                            <input type="text" class="form-control" name="row[mobile]" id="mobile"
                                   data-rule="mobile" placeholder="请输入正确的手机号码" value="{$row.mobile}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="email" class="control-label">邮箱</label>
                        <div class="form-item">
                            <input type="email" class="form-control" name="row[email]" id="email"
                                   data-rule="email" placeholder="请输入正确的邮箱地址" value="{$row.email}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="mobile" class="control-label">密码</label>
                        <div class="form-item">
                            <input type="password" class="form-control" name="row[password]" id="password"   placeholder="密码修改，不填写则不修改" value="">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="add-pic-btn" class="control-label">头像上传</label>
                        <div class="form-item">
                            <button type="button" class="btn btn-sm btn-danger webupload" id="add-pic-btn"
                                    data-input-id="c-avatar"
                                    data-preview-id="avatar-image" data-multiple="true">上传
                            </button>

                            <input type="hidden" name="row[avatar]" id="c-avatar" value="{$row.avatar}">
                            <ul class="list-inline clearfix lyear-uploads-pic" id="avatar-image">

                            </ul>
                        </div>
                    </div>

                    <div class="form-group hidden layer-footer">
                        <label class="control-label col-xs-12 col-sm-2"></label>
                        <div class="col-xs-12 col-sm-8">
                            <button type="submit" class="btn btn-success btn-embossed disabled">提交</button>
                            <button type="reset" class="btn btn-default btn-embossed">重置</button>
                        </div>
                    </div>

                </form>
            </div>
        </div>
    </div>
</div>
{/block}